@import '~@/scss/GlobalVariables';

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;

  * {
    text-decoration: none;
  }
}

.wrap {
  background-color: $footer-background-color;
  color: $text-color-1;
  padding: 70px 0 20px;

  @media all and (max-width: $tablet-width){
    padding: 30px 0;
  }
}

.footer-contents {
  @media all and (max-width: $tablet-width){
    display: block;
  }

  >div {
    @media all and (max-width: $tablet-width){
      border-bottom: 1px solid $dark-blue-1;
      padding: 25px 0;
    }

    display: flex;
    flex-direction: column;

    .content-title {
      align-items: center;
      display: flex;

      h3 {
        font-size: 19px;
      }

      p {
        @media all and (min-width: $tablet-width + 1){
          display: none;
        }

        @media all and (max-width: $tablet-width){
          cursor: pointer;
          display: block;
          font-size: 20px;
          font-weight: 400;
          margin-left: auto;
          text-align: center;

          .close {
            display: none;
          }
        }
      }
    }

    .content-links {
      margin-top: 20px;
      max-height: 600px;
      overflow: hidden;
      transition: all .3s ease;

      @media all and (max-width: $tablet-width) {
        .mobile-hide {
          margin-top: 0;
          max-height: 0;
        }
      }

      .sub-title {
        color: $text-color-1;
      }

      p {
        color: $text--footer-link-color;
        margin-bottom: 15px;
      }

      .no-margin {
        margin-bottom: 3px;
      }
    }

  }

  .donate-us {
    .crypto-link {
      color: $link-text-color-2;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    i {
      border: 1px solid $text--footer-link-color;
      border-radius: 100px;
    }

    h3 {
      img {
        height: 30px;
        margin-top: -7px;
        vertical-align: top;
      }
    }
  }
}// .footer-contents

.foot-note {
  align-items: center;
  border-top: 1px solid $dark-blue-1;
  margin-top: 40px;
  padding-top: 40px;

  @media all and (max-width: $tablet-width){
    border-top: 0;
    flex-direction: column;
    margin-top: 0;

    .links {
      order: 1;
      text-align: center;

      a:last-child {
        span {
          margin-right: 0;
          padding-right: 0;
        }
      }
    }

    .social {
      order: 2;
    }

    .copyright {
      order: 3;
    }
  }

  >div {
    //margin: 0 auto;
    margin-bottom: 20px;
  }

  .links {
    span {
      border-right: 1px solid $border-color-2;
      color: $text-color-1;

      margin-right: 15px;
      padding-right: 15px;
    }

    a:last-child span {
      border-right: 0;
    }
  }

  .copyright {
    color: $text--footer-link-color;
    text-align: center;
  }

  .social {
    @media all and (max-width: $tablet-width){
      text-align: center;
    }

    i {
      color: $text--footer-link-color;
      font-size: 19px;
      margin-left: 15px;

      @media all and (max-width: $tablet-width){
        font-size: 24px;
        line-height: 40px;
      }
    }

    a:first-child i {
      margin-left: 0;
    }
  }
}
